package com.wangqinlei.cowims126.mapper;

import com.wangqinlei.cowims126.pojo.Category;

import java.util.List;
import java.util.Map;

/**
 * @Classname CategoryMapper
 * @Description None
 * @Date 2019/6/24 20:09
 * @Created by WDD
 */
public interface CategoryMapper {
    List<Category> queryList(Map<String, Object> paramMap);

    Integer queryCount(Map<String, Object> paramMap);

    int addCategory(Category Category);

    int deleteCategory(List<Integer> ids);

    int editCategory(Category Category);

    Category findByName(String CategoryName);
}
